from spider import *
from spider2 import *
def runmod():
    os.remove("movie.db")
    talbe= Sheetmod(Pymysqlmod(HOST, USER, PASSWORD, NAME), "bin_goods",
                            "电影编号").deleteall()
    talbe2 = Sheetmod(Pymysqlmod(HOST, USER, PASSWORD, NAME), "bin_moviepinlun",
                             "评论编号").deleteall()
    main()
    run()

